﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebShop.DataService;

namespace WebShop.Models
{
    /// <summary>
    /// Mdel for showing products in category
    /// </summary>
    public class CategoryShowModel : BaseModel
    {
        /// <summary>
        /// Products list
        /// </summary>
        public List<DataService.ProductView> Products { get; set; }

        /// <summary>
        /// Count of pages
        /// </summary>
        public int Pages { get; set; }

        /// <summary>
        /// Selected pages
        /// </summary>
        public int Page { get; set; }

        /// <summary>
        /// Orders list
        /// </summary>
        public Dictionary<int, string> Orders { get; set; }
        
        /// <summary>
        /// Category data
        /// </summary>
        public CategoryView Category { get; set; }
        
        /// <summary>
        /// Breadcrumbs
        /// </summary>
        public List<DataService.CategoryView> Breadcrumbs;
    }
}